@charset "utf-8";

/*表格样式*/ /*添加表格样式-普通*/
.tb_add_gen {
	font-size: 12px;
}

/*编辑表格样-普通式*/
.tb_edit_gen {
	font-size: 12px;
}

/*列表表格样-普通式*/
.tb_list_gen {
	border: #8db2e3 1px solid;
	border-collapse: collapse;
	padding-top: 2px;
	table-layout:fixed;word-wrap:break-word
}

.tb_list_gen caption {
	font-size: 14px;
	color: #333333;
	font-weight: bold;
	height: 20px
}

.tb_list_gen thead tr th {
	background-image: url(../../../images/tb_headbg.gif);
	background-position: left bottom;
	background-repeat: repeat-x;
	height: 23px;
	border-left: 1px dotted #cccccc;
	border-top: 1px dotted #cccccc;
	font-size: 12px;
	color: #333333;
	text-align: center;
	background-color: #fafafa
}

.tb_list_gen tbody tr td {
	height: 23px;
	border-bottom: 1px dotted #cccccc;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	font-size: 12px;
	padding-left: 3px
}
.tb_list_gen td input{ border:1px solid #ccc; background-color:#ffffff; height:20px}
/*报表表格样式-普通*/
.tb_rep_gen {
	
}

/*添加表格样式-位置处于底部*/
.tb_add_bottom {
	background-image: url(../../../images/div_add_bg.gif);
	background-position: left bottom;
	background-repeat: repeat-x
}

/*添加表格样式-使用th*/
.tb_add_th {
	border: 1px solid #d2dfe6;
	border-collapse: collapse;
	background-color: #E6EAE9;
	padding: 0;
	margin: 0;
}

.tb_add_th caption {
	padding: 0 0 5px 0;
	width: 100%;
	font: bold 13px "宋体", Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	color: #333333
}

.tb_add_th th {
	font: 12px "宋体", Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	border-top: 1px solid #d2dfe6;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: right;
	padding: 3px 3px 3px 6px;
	background: #f3f7fa;
}

.tb_add_th th.nobg {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #d2dfe6;
	background: none;
}

.tb_add_th td {
	font: 12px "宋体", Verdana, Arial, Helvetica, sans-serif;
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	background: #fff;
	padding: 3px 3px 3px 6px;
	color: #666666;
	height: 22px
}
.tb_add_th td input[type="text"]{ width:70%;border:1px solid #ccc;}
.tb_add_th td input[type="text"]:hover{ width:70%; border:1px solid #F30;}
.tb_add_th td select{ width:70%}
.tb_add_th td textarea{ width:70%; height:60px}

/*添加表格样式-使用td*/
.tb_add_td {
	border: 1px solid #d2dfe6;
	border-collapse: collapse;
	background-color: #E6EAE9;
	padding: 0;
	margin: 0;
}

.tb_add_td tr td {
	background-color: expression(( this . cellIndex % 2 == 0) ? "#f3f7fa" :
		"#fff" );
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	padding-left: 5px;
	color: #666666;
	padding: 3px 3px 3px 6px;
	color: #666666;
	height: 22px
}


/*添加表格样式-使用th*/
.tb_adds_th {
	border: 1px solid #d2dfe6;
	border-collapse: collapse;
	background-color: #E6EAE9;
	padding: 0;
	margin: 0;
}

.tb_adds_th caption {
	padding: 0 0 5px 0;
	width: 100%;
	font: bold 13px "宋体", Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	color: #333333
}

.tb_adds_th th {
	font: 12px "宋体", Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	border-top: 1px solid #d2dfe6;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: right;
	padding: 3px 3px 3px 6px;
	background: #f3f7fa;width:30%;
}

.tb_adds_th th.nobg {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #d2dfe6;
	background: none;
}

.tb_adds_th td {
	font: 12px "宋体", Verdana, Arial, Helvetica, sans-serif;
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	background: #fff;
	padding: 3px 3px 3px 6px;
	color: #666666;
	height: 22px
}

/*添加表格样式-使用td*/
.tb_adds_td {
	border: 1px solid #d2dfe6;
	border-collapse: collapse;
	background-color: #E6EAE9;
	padding: 0;
	margin: 0;
}

.tb_add_td tr td {
	background-color: expression(( this . cellIndex % 2 == 0) ? "#f3f7fa" :
		"#fff" );
	border-right: 1px solid #d2dfe6;
	border-bottom: 1px solid #d2dfe6;
	padding-left: 5px;
	color: #666666;
	padding: 3px 3px 3px 6px;
	color: #666666;
	height: 22px
}

/** 使用$('#tableId').editTbl()方法后，生成的文本框等样式 */
.edit-table td input{width:99%;text-align:center;background:transparent;border:1px solid #e4e4e4;}
.edit-table td textarea{width:96%;text-align:left;margin:0px;border:1px solid #e4e4e4;}
.edit-table td select{width:99%;text-align:center;border:1px solid #e4e4e4;background:transparent;}
.edit-table td .combo input.combo-text{border:0px;}
.edit-table td .combo input.combo-text:hover{border:0px;}
.edit-table .itemtr1,.edit-table .itemtr1 td *{text-decoration:line-through;background:#efefef;}
